#ifdef _DEBUG
void print (__HufTree * head, char* i,int flag);
#endif

// return pointer to compress file that
FILE * arc_file (fileHead * fileHd,FILE * fileToRead);

__HufTree * mkH_TInit (FILE * fileToRead);

__HufTree ** SortHuffTree (__HufTree ** H_T);

__HufTree * MakeHufTree (__HufTree ** H_T);

__HufTree ** paste (__HufTree ** H_T, __HufTree * elm);

FILE * compres (FILE * fileToRead,	fileHead * fileHd);

unsigned char * makeTables (unsigned char alpha,int flag,__HufTree * head,unsigned char * i);

unsigned char * HufTreeToStr (__HufTree * head,size_t * len);

__HufTree ** makeArrHufTree (__HufTree ** arr,__HufTree * elm, int * count);

int CharInBits (unsigned char * buf_in,unsigned char * buf_out,unsigned char ** tables, str_inf* inf);


